package com.blrs.service.procure.procure;

import java.util.List;
import com.blrs.domain.Purchasing;

/**
 * 采购管理Service接口
 * 
 * @author ruoyi
 * @date 2023-10-17
 */
public interface IPurchasingService 
{
    /**
     * 查询采购管理
     * 
     * @param id 采购管理主键
     * @return 采购管理
     */
    public Purchasing selectPurchasingById(String id);

    /**
     * 查询采购管理列表
     * 
     * @param purchasing 采购管理
     * @return 采购管理集合
     */
    public List<Purchasing> selectPurchasingList(Purchasing purchasing);

    /**
     * 新增采购管理
     * 
     * @param purchasing 采购管理
     * @return 结果
     */
    public int insertPurchasing(Purchasing purchasing) throws NoSuchFieldException, IllegalAccessException;

    /**
     * 修改采购管理
     * 
     * @param purchasing 采购管理
     * @return 结果
     */
    public int updatePurchasing(Purchasing purchasing) throws NoSuchFieldException, IllegalAccessException;

    /**
     * 批量删除采购管理
     * 
     * @param ids 需要删除的采购管理主键集合
     * @return 结果
     */
    public int deletePurchasingByIds(String[] ids);
    public int updatePurchasingByProjectId(Purchasing purchasing);
    /**
     * 删除采购管理信息
     * 
     * @param id 采购管理主键
     * @return 结果
     */
    public int deletePurchasingById(String id);

    int updatePurchasingStatus(String id);

    String findLastNo();

    int updatePurchasingExamineStatus(String id);

    int repulse(String id);

    List<Purchasing> selectPurchasingListExamine(Purchasing purchasing);

    int updatePurchasingCooperate(Purchasing purchasing);
}
